Overview

Row

Global sleep overview (3 subjects Night Owl Early Bird Sleepy Bear)

y variable defined on the left remains the same

Row

total sleep overview

Row

total sleep overview (by day of week)

deep sleep variation (by day of week)

Row

_stress_awake (by day of week)

_stress_awake

Corr_Night analysis

Row

Influence from Median_hr_sleep on sleep quality

Influence from median_stress_sleep on sleep quality

Row

Correlation stress & HR

The p-value of the test is less than the significance level alpha = 0.05. We can conclude that hr sleep and stress sleep are significantly correlated with a correlation coefficient beetween 0.64–0.88.

Correlation vigorous_activity_hours & total_sleep_hours

The p-value of the test is more than the significance level alpha = 0.05. We can conclude that variable are not significantly correlated .

Correlation steps & total_sleep_hours

The p-value of the test is more than the significance level alpha = 0.05. We can conclude that variable are not significantly correlated .

Row

**Correlation %_high_stress_30min_before_bedtime & total_sleep_hours**

The p-value of the test is more than the significance level alpha = 0.05. We can conclude that variable are not significantly correlated .

Correlation estimated_sleep_time & total_sleep_hours

The p-value of the test is less (2 participants) than the significance level alpha = 0.05. We can conclude that variable are significantly correlated .

Global corr analysis & ML Models

Row

Correlation

Row

ML decision tree

n= 122 

node), split, n, loss, yval, (yprob)
      * denotes terminal node

 1) root 122 24 0 (0.80327869 0.19672131)  
   2) mean_hr_sleep>=46.31655 119 21 0 (0.82352941 0.17647059)  
     4) awake_percentage< 0.03774929 87 10 0 (0.88505747 0.11494253)  
       8) total_sleep_hours>=7.233333 59  2 0 (0.96610169 0.03389831) *
       9) total_sleep_hours< 7.233333 28  8 0 (0.71428571 0.28571429)  
        18) mean_hr_sleep>=52.91096 18  2 0 (0.88888889 0.11111111)  
          36) total_sleep_hours< 7.033333 15  0 0 (1.00000000 0.00000000) *
          37) total_sleep_hours>=7.033333 3  1 1 (0.33333333 0.66666667) *
        19) mean_hr_sleep< 52.91096 10  4 1 (0.40000000 0.60000000)  
          38) rem_sleep_percentage>=0.1308801 5  1 0 (0.80000000 0.20000000) *
          39) rem_sleep_percentage< 0.1308801 5  0 1 (0.00000000 1.00000000) *
     5) awake_percentage>=0.03774929 32 11 0 (0.65625000 0.34375000)  
      10) mean_hr_sleep< 55.234 12  1 0 (0.91666667 0.08333333) *
      11) mean_hr_sleep>=55.234 20 10 0 (0.50000000 0.50000000)  
        22) %_stress_awake>=0.5921907 5  0 0 (1.00000000 0.00000000) *
        23) %_stress_awake< 0.5921907 15  5 1 (0.33333333 0.66666667)  
          46) rem_sleep_percentage>=0.08689563 10  5 0 (0.50000000 0.50000000)  
            92) light_sleep_percentage< 0.7336932 7  2 0 (0.71428571 0.28571429) *
            93) light_sleep_percentage>=0.7336932 3  0 1 (0.00000000 1.00000000) *
          47) rem_sleep_percentage< 0.08689563 5  0 1 (0.00000000 1.00000000) *
   3) mean_hr_sleep< 46.31655 3  0 1 (0.00000000 1.00000000) *

Row

Code on demand

Make an email—>rtremeaud at protonmail.com